package com.blockchain.securewallet.model.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class UnSpent {

    private static final String TAG = "Wallet.UnSpent";

    @Id(autoincrement = true)
    private Long id;
    private String txid;  //大端显示
    private int outputNo;
    private long value;
    private long confirmations;
    private String script;
    private long index;
    private String address;
    @Generated(hash = 1303019785)
    public UnSpent(Long id, String txid, int outputNo, long value,
            long confirmations, String script, long index, String address) {
        this.id = id;
        this.txid = txid;
        this.outputNo = outputNo;
        this.value = value;
        this.confirmations = confirmations;
        this.script = script;
        this.index = index;
        this.address = address;
    }
    @Generated(hash = 585431361)
    public UnSpent() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTxid() {
        return this.txid;
    }
    public void setTxid(String txid) {
        this.txid = txid;
    }
    public int getOutputNo() {
        return this.outputNo;
    }
    public void setOutputNo(int outputNo) {
        this.outputNo = outputNo;
    }
    public long getValue() {
        return this.value;
    }
    public void setValue(long value) {
        this.value = value;
    }
    public long getConfirmations() {
        return this.confirmations;
    }
    public void setConfirmations(long confirmations) {
        this.confirmations = confirmations;
    }
    public String getScript() {
        return this.script;
    }
    public void setScript(String script) {
        this.script = script;
    }
    public long getIndex() {
        return this.index;
    }
    public void setIndex(long index) {
        this.index = index;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    
}
